package com.ss.android.article.base.feature.detail2.picgroup;

import com.ss.android.article.base.ui.ScrollListenerWebView.OnScrollChangeListener;

final class u implements OnScrollChangeListener {
    private final GalleryFragment a;

    u(GalleryFragment arg1) {
        this.a = arg1;

    }

    public final void onScrollChanged(int scrollY) {
        this.a.b(scrollY);
        if(this.a.i != null && this.a.i.mScrollListenerWebView != null) {
            GalleryFragment.a$a v0 = this.a.I();
            if(v0 != null) {
                v0.mMaxScrollHeight = Math.max(v0.mMaxScrollHeight, scrollY);
            }
        }
    }
}

